ReadLowAndLoop.asm
Language: 8080 Assembly
Last Modified: 2022-11-13 1:21:18 AM UTC
File Size: 470 bytes
Last Modified: 2022-11-13 1:21:18 AM UTC
File Size: 470 bytes
http://www.penguinstew.ca/example/AltairAdder/ReadLowAndLoop.asm
; Read Low Value and Loop Program, displays value read from low nibble switches using address lights
ORG 0000H
IN FFH ; 0000: DB FF Read value from switches
ANI 0FH ; 0002: E6 0F Clear high part
MOV D, A ; 0004: 57 Move to High register
LP: LDAX D ; 0005: 1A Load (display) address
JMP LP ; 0006: C3 05 00 Jump to display
1
2
3
4
5
6
7